package com.tkjt.pms.modules.common.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.system.entity.SysConfig;
import org.jeecg.modules.system.model.DepartIdModel;

import java.util.List;
import java.util.Map;

public interface PMSCommonService {
    List<Map<String,Object>> yearMonthList();

    List<Map<String,Object>> allMTotalYearMonthList();

    List<Map<String,Object>> currentMTotalYearMonthList();

    List<Map<String,Object>> checkYearList();

    List<Map<String,Object>> getOrgCodeCG();

    List<Map<String,Object>> gradeOrgs();

    List<Map<String,Object>> getAllOrgs();

    List<Map<String,Object>> indexCodes(String indexGroup,String indexType,String indexEdit,List<String> indexAttr,List<String> noIndexAttrs);

    List<Map<String,Object>> indexValueCodes(String indexGroup,String indexCode);

    List<Map<String,Object>> cgOrgs(String indexGroup);

    List<Map<String,Object>> getIndexCodeByParam(Map<String,Object> map);

    public SysConfig getSysConfig(String configCode);

    public List<DepartIdModel> userReportDepartList(String userId);
}
